package com.hyfrogx.common.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 请求分页参数
 *
 * @author wanglei
 * @date 2019-05-30 11:13:47
 */
@Data
@ApiModel("请求分页参数")
public class PageVo {
	@ApiModelProperty(value = "当前页数，默认1", example = "1", position = 0)
	private Integer page = 1;
	@ApiModelProperty(value = "每页数据条数，默认10", example = "10", position = 1)
	private Integer limit = 10;
	@ApiModelProperty(value = "列表排序字段", example = "", position = 2)
	private String orderByField = "";
	@ApiModelProperty(value = "是否正序", example = "true", position = 3)
	private Boolean isAsc = true;
}
